﻿#region
/*******************************************************************************
** File Name:		    IArea.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using Phoenix.Entity;
namespace Phoenix.Respository
{
    public interface IArea
    {
        #region  Auto Generation

        void AddArea(EArea area);

        void UpdateByAreaID(EArea area);

        void DeleteByAreaID(System.Int32 areaID);

        EArea GetByAreaID(System.Int32 areaID);

        IList<EArea> GetAll();

        #endregion

        IList<EArea> GetAllProvince();

        IList<EArea> GetByParentID(int ParentId);
    }
}